package com.atguigu.guli.service.base.dto;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author lj on 2021/2/15.
 * @version 1.0
 */
@Data
public class CourseDto implements Serializable {
    private static final long serialVersionUID = 1L;
    private String id;//课程ID
    private String title;//课程标题
    private BigDecimal price;//课程销售价格，设置为0则可免费观看
    private String cover;//课程封面图片路径
    private String teacherName;//课程讲师

    public CourseDto() {
    }

    public CourseDto(String id, String title, BigDecimal price, String cover) {
        this.id = id;
        this.title = title;
        this.price = price;
        this.cover = cover;
    }
}
